package com.soft.pojo;

import java.io.Serializable;

/**
 * @author ruoxi
 * @create 2021-12-24 11:33
 */
public class Dept implements Serializable {
    private Integer dno;
    private String dName;
    private String tel;
    private String dPlace;
    private Integer state;

    @Override
    public String toString() {
        return "Dept{" +
                "dno=" + dno +
                ", dName='" + dName + '\'' +
                ", tel='" + tel + '\'' +
                ", dPlace='" + dPlace + '\'' +
                ", state=" + state +
                '}';
    }

    public Dept() {
    }

    public Dept(Integer dno, String dName, String tel, String dPlace, Integer state) {
        this.dno = dno;
        this.dName = dName;
        this.tel = tel;
        this.dPlace = dPlace;
        this.state = state;
    }

    public Integer getDno() {
        return dno;
    }

    public void setDno(Integer dno) {
        this.dno = dno;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getdPlace() {
        return dPlace;
    }

    public void setdPlace(String dPlace) {
        this.dPlace = dPlace;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
